package org.sixtynine.stock.service.file;

import java.util.List;

import org.sixtynine.stock.ReturnData;
import org.sixtynine.stock.entity.BaseEntity;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author Thilanka
 * 
 */
public interface FileDataService {

	public void ping();

	public ReturnData<List<? extends BaseEntity>> process(String fileName,
			String type);

	public ReturnData<String> saveFile(MultipartFile multipartFile,
			String type, String fileName);

	public ReturnData<String> deleteFile(String fileName);

}
